package com.math.aistudykbr.exception;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public class QuestionParseException extends RuntimeException{

    private final String questionText;
    private final String field;

    public QuestionParseException(String questionText, String field, String difficultyLevel) {
        super("解析题目失败: " + questionText + ", 字段: " + field);
        this.questionText = questionText;
        this.field = field;
    }
}
